#include "Extension.h"

CExtension::CExtension(void)
{
}

CExtension::~CExtension(void)
{
}

int CExtension::CardCallBackProc(WORD wEvent, DWORD dwParam)
{
	if(m_CurrentState == NULL)
	{
		return 0;
	}
	return m_CurrentState->CardCallBackProc(wEvent,dwParam);
	
}

void CExtension::ProcessReceivedMsg(CTinyMsg &inMsg,CTinyMsg &OutMsg)
{
	if(m_CurrentState == NULL)
	{
		return ;
	}
	return m_CurrentState->ProcessReceivedMsg(inMsg,OutMsg);
}
